package com.lsfb.signsys;

import java.io.IOException;

/**
 * Created by zgscwjm on 2018/3/27.
 */

public class ApiException extends IOException{

    private int code;
    //用于展示的异常信息
    private String msg;

    public ApiException(int code,String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }
}
